import {
	get,
	post
} from './http.js'
const HttpManagerStudent = {
 //学生班级
 addClazzByStudentId:(clazzToken)=>post("/education/clazz/addClazzByStudentId?clazzToken="+clazzToken),//通过班级口令加入班级
 getCourseByStudentId:()=>get("/education/course/getCourseByStudentId"),//根据学生id获取学的课程
 getTaskByCourseIdStudent:(parmas)=>get("/education/task/getTaskByCourseId",parmas),//学生根据课程id获取课程下任务
 getExamByCourseIdStudent:(parmas)=>get("/education/exam/getExamByCourseIdStudent",parmas),//学生根据课程id获取课程下考试
 //章节下的接口
 getCourseCompletion:(parmas)=>get("/education/course/getCourseCompletion",parmas),//学生获取课程课时完成度
 getTeachersNameByCourseId:(parmas)=>get("/education/course/getTeachersNameByCourseId",parmas),//根据课程id获取授课教师姓名
 getCoursewareByPeriodId:(parmas)=>get("/education/courseware/getCoursewareByPeriodId",parmas),//根据课时id获取课件
 getExamByCourseId:(parmas)=>get("/education/exam/getExamByCourseId",parmas),
 getTaskByCourseAndClazz:(parmas)=>get("/education/task/getTaskByCourseAndClazz",parmas),
 //课程
 getCourseInfByCourseId:(parmas)=>get("/education/course/getCourseInfByCourseId",parmas),//根据课程id获取课程下相关信息
 //统计页面
 getPerSta:(parmas)=>get("/education/course/getPerSta",parmas),//学生个人统计页面所需数据

}
export {
	HttpManagerStudent
};
